/**
 *
 * description:auto deploy
 * create by mirko
 * 1061773869@qq.com
 *
 */
const env = require('./env')
module.exports = (function () {
    
	console.log(process.env.NODE_ENV,'aenv')

	// process.env.NODE_ENV = 'production'
    const node_env = process.env.NODE_ENV || 'development';
    // load default config
    const defaultConfig = env['default'];
    //organize config value
    for (let key in env[node_env]) {
        defaultConfig[key] = env[node_env][key];
    }
    //return config
    return defaultConfig;
})();
